home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3sphere.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_SPHERE_H = 1;
- include("oops/r3vector.js")
- include("real/objects/r3prim.js")
-
-
- var R3CLID_SPHERE = 131;
-
-
-
-
- R3SPHA_Center = 131501;
- function SetR3SPHA_Center(value) {
- R3Set(this.r3obj, R3SPHA_Center, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SPHA_Center() {
- return R3Get(this.r3obj, R3SPHA_Center, R3TID_VECTOR, 0);
- }
-
- R3SPHA_A = 131502;
- function SetR3SPHA_A(value) {
- R3Set(this.r3obj, R3SPHA_A, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SPHA_A() {
- return R3Get(this.r3obj, R3SPHA_A, R3TID_VECTOR, 0);
- }
-
- R3SPHA_B = 131503;
- function SetR3SPHA_B(value) {
- R3Set(this.r3obj, R3SPHA_B, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SPHA_B() {
- return R3Get(this.r3obj, R3SPHA_B, R3TID_VECTOR, 0);
- }
-
- R3SPHA_C = 131504;
- function SetR3SPHA_C(value) {
- R3Set(this.r3obj, R3SPHA_C, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SPHA_C() {
- return R3Get(this.r3obj, R3SPHA_C, R3TID_VECTOR, 0);
- }
-
- R3SPHA_Radius = 131505;
- function SetR3SPHA_Radius(value) {
- R3Set(this.r3obj, R3SPHA_Radius, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPHA_Radius() {
- return R3Get(this.r3obj, R3SPHA_Radius, R3TID_FLOAT, 0);
- }
-
- R3SPHA_LengthA = 131506;
- function SetR3SPHA_LengthA(value) {
- R3Set(this.r3obj, R3SPHA_LengthA, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPHA_LengthA() {
- return R3Get(this.r3obj, R3SPHA_LengthA, R3TID_FLOAT, 0);
- }
-
- R3SPHA_LengthB = 131507;
- function SetR3SPHA_LengthB(value) {
- R3Set(this.r3obj, R3SPHA_LengthB, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPHA_LengthB() {
- return R3Get(this.r3obj, R3SPHA_LengthB, R3TID_FLOAT, 0);
- }
-
- R3SPHA_LengthC = 131508;
- function SetR3SPHA_LengthC(value) {
- R3Set(this.r3obj, R3SPHA_LengthC, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SPHA_LengthC() {
- return R3Get(this.r3obj, R3SPHA_LengthC, R3TID_FLOAT, 0);
- }
-
-
-
- function r3Sphere () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_SPHERE, arguments);
- }
- // Attributes
- this.GetCenter=GetR3SPHA_Center;
- this.SetCenter=SetR3SPHA_Center;
- this.GetA=GetR3SPHA_A;
- this.SetA=SetR3SPHA_A;
- this.GetB=GetR3SPHA_B;
- this.SetB=SetR3SPHA_B;
- this.GetC=GetR3SPHA_C;
- this.SetC=SetR3SPHA_C;
- this.GetRadius=GetR3SPHA_Radius;
- this.SetRadius=SetR3SPHA_Radius;
- this.GetLengthA=GetR3SPHA_LengthA;
- this.SetLengthA=SetR3SPHA_LengthA;
- this.GetLengthB=GetR3SPHA_LengthB;
- this.SetLengthB=SetR3SPHA_LengthB;
- this.GetLengthC=GetR3SPHA_LengthC;
- this.SetLengthC=SetR3SPHA_LengthC;
- }
-
- r3Sphere.prototype=new r3Primitive;
- // r3sphere.h_H